﻿using System;

namespace DataAccess.Services.Constants
{
	public class DocumentEnvelopeStatusEnum : LookupEntity<string, int>
	{
		private static DocumentEnvelopeStatusEnum instance;
		
		private DocumentEnvelopeStatusEnum()
			: base(new ServiceManager().DocumentEnvelopeStatusStatus.GetStatusId)
		{
		}

		public static DocumentEnvelopeStatusEnum Instance
		{
			get
			{
				if (instance == null)
				{
					instance = new DocumentEnvelopeStatusEnum();
				}

				return instance;
			}
		}

		public int Received
		{
			get { return Get("Received"); }
		}

		public int NotAccepted
		{
			get { return Get("Not Accepted"); }
		}

		public int Processed
		{
			get { return Get("Processed"); }
		}
	}
}
